﻿namespace Mangosoft.DiceCopy.Application.MainBoundedContext.DTO {
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class MaterialDTO {
        ///<summary>
        ///
        ///</summary>
        public Guid Id { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string Name { get; set; }

        ///<summary>
        ///1-图片；2-文字
        ///</summary>
        public int MaterialType { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int? High { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int? Width { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int? Size { get; set; }

        ///<summary>
        ///二进制内容
        ///</summary>
        public byte[] PictureBinary { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string PictureFormat { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string AlternateText { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string Text { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string TextStyle { get; set; }

        ///<summary>
        ///在这里写上公司名称还是用选择？
        ///</summary>
        public string Notes { get; set; }

        ///<summary>
        ///链接分内外，编辑时指定。
        ///</summary>
        public string NavigateUrl { get; set; }

        ///<summary>
        ///如果是，则从CompanyId组合成Url
        ///</summary>
        public bool IsInternal { get; set; }

        ///<summary>
        ///广告物料可以有单位自行上传，由管理员选择发布
        ///</summary>
        public Guid CompanyId { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime DateCreated { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime LastUpdated { get; set; }

        ///<summary>
        ///
        ///</summary>
        public Guid ManagerId { get; set; }

    }
}
